import { Inject, Injectable } from '@nestjs/common';
import { YhLoggerService } from './shared/yhlogger.service';
@Injectable()
export class AppService {
    @Inject(YhLoggerService) private logger: YhLoggerService;
    getHello(): string {
        
        this.logger.log('哈哈哈哈哈', 'AppService');
        return '哈哈哈哈!';
    }
}
